 import {bar} from './b.js';
export function foo() {
  console.log('foo');
}
bar()


/*var b=require('./b.js');
export function foo() {
  b.bar();  
  console.log('执行完毕');
}
foo();*/